/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.account.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description 会员中心返回值
 * @Author zhaokw
 * @Date 23:43 2020\6\9 0009
 **/
@Data
@ApiModel(value = "会员中心返回值")
@Accessors(chain = true)
public class MemberCenterVo {

    @ApiModelProperty(value = "账户总余额")
    private BigDecimal accountBalance;

    @ApiModelProperty(value = "账户可用余额,根据返利设置判断")
    private BigDecimal accountUseBalance;

    @ApiModelProperty(value = "返利余额")
    private BigDecimal rebateBonus;

    @ApiModelProperty(value = "账户可用积分")
    private BigDecimal useAmount;

    @ApiModelProperty(value = "充值开关 0-关 1-开")
    private Integer state;

    @ApiModelProperty(value = "当前用户账户会员卡信息")
    private List<MemberCardInfoCenterVo> memberCardInfoCenterVos;

    @ApiModelProperty(value = "当前开卡方式，会员卡开卡方式:0-自动发卡 1-付费购买 2-积分兑换 ")
    private Integer openType;

}
